Skip to content

Commit edf5c17

Browse files
committed
staging: irda: remove remaining remants of irda code removal
There were some documentation locations that irda was mentioned, as well as an old MAINTAINERS entry and the networking sysctl entries. Clean these all out as this stuff really is finally gone. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 60cc43f commit edf5c17

6 files changed

Lines changed: 1 addition & 67 deletions

File tree

‎Documentation/ioctl/ioctl-number.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ Code Seq#(hex) Include File Comments
217217
'd' 02-40 pcmcia/ds.h conflict!
218218
'd' F0-FF linux/digi1.h
219219
'e' all linux/digi1.h conflict!
220-
'e' 00-1F drivers/net/irda/irtty-sir.h conflict!
221220
'f' 00-1F linux/ext2_fs.h conflict!
222221
'f' 00-1F linux/ext3_fs.h conflict!
223222
'f' 00-0F fs/jfs/jfs_dinode.h conflict!
@@ -247,7 +246,6 @@ Code Seq#(hex) Include File Comments
247246
'm' all linux/synclink.h conflict!
248247
'm' 00-19 drivers/message/fusion/mptctl.h conflict!
249248
'm' 00 drivers/scsi/megaraid/megaraid_ioctl.h conflict!
250-
'm' 00-1F net/irda/irmod.h conflict!
251249
'n' 00-7F linux/ncp_fs.h and fs/ncpfs/ioctl.c
252250
'n' 80-8F uapi/linux/nilfs2_api.h NILFS2
253251
'n' E0-FF linux/matroxfb.h matroxfb

‎Documentation/networking/ip-sysctl.txt‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2126,18 +2126,3 @@ max_dgram_qlen - INTEGER
21262126

21272127
Default: 10
21282128

2129-
2130-
UNDOCUMENTED:
2131-
2132-
/proc/sys/net/irda/*
2133-
fast_poll_increase FIXME
2134-
warn_noreply_time FIXME
2135-
discovery_slots FIXME
2136-
slot_timeout FIXME
2137-
max_baud_rate FIXME
2138-
discovery_timeout FIXME
2139-
lap_keepalive_time FIXME
2140-
max_noreply_time FIXME
2141-
max_tx_data_size FIXME
2142-
max_tx_window FIXME
2143-
min_tx_turn_time FIXME

‎Documentation/process/magic-number.rst‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,5 @@ memory management. See ``include/sound/sndmagic.h`` for complete list of them. M
157157
OSS sound drivers have their magic numbers constructed from the soundcard PCI
158158
ID - these are not listed here as well.
159159

160-
IrDA subsystem also uses large number of own magic numbers, see
161-
``include/net/irda/irda.h`` for a complete list of them.
162-
163160
HFS is another larger user of magic numbers - you can find them in
164161
``fs/hfs/hfs.h``.

‎MAINTAINERS‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7396,16 +7396,6 @@ S: Obsolete
73967396
F: include/uapi/linux/ipx.h
73977397
F: drivers/staging/ipx/
73987398

7399-
IRDA SUBSYSTEM
7400-
M: Samuel Ortiz <samuel@sortiz.org>
7401-
L: irda-users@lists.sourceforge.net (subscribers-only)
7402-
L: netdev@vger.kernel.org
7403-
W: http://irda.sourceforge.net/
7404-
S: Obsolete
7405-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/sameo/irda-2.6.git
7406-
F: Documentation/networking/irda.txt
7407-
F: drivers/staging/irda/
7408-
74097399
IRQ DOMAINS (IRQ NUMBER MAPPING LIBRARY)
74107400
M: Marc Zyngier <marc.zyngier@arm.com>
74117401
S: Maintained

‎include/uapi/linux/sysctl.h‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -780,24 +780,6 @@ enum {
780780
NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5,
781781
};
782782

783-
/* proc/sys/net/irda */
784-
enum {
785-
NET_IRDA_DISCOVERY=1,
786-
NET_IRDA_DEVNAME=2,
787-
NET_IRDA_DEBUG=3,
788-
NET_IRDA_FAST_POLL=4,
789-
NET_IRDA_DISCOVERY_SLOTS=5,
790-
NET_IRDA_DISCOVERY_TIMEOUT=6,
791-
NET_IRDA_SLOT_TIMEOUT=7,
792-
NET_IRDA_MAX_BAUD_RATE=8,
793-
NET_IRDA_MIN_TX_TURN_TIME=9,
794-
NET_IRDA_MAX_TX_DATA_SIZE=10,
795-
NET_IRDA_MAX_TX_WINDOW=11,
796-
NET_IRDA_MAX_NOREPLY_TIME=12,
797-
NET_IRDA_WARN_NOREPLY_TIME=13,
798-
NET_IRDA_LAP_KEEPALIVE_TIME=14,
799-
};
800-
801783

802784
/* CTL_FS names: */
803785
enum

‎kernel/sysctl_binary.c‎

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -704,24 +704,6 @@ static const struct bin_table bin_net_netfilter_table[] = {
704704
{}
705705
};
706706

707-
static const struct bin_table bin_net_irda_table[] = {
708-
{ CTL_INT, NET_IRDA_DISCOVERY, "discovery" },
709-
{ CTL_STR, NET_IRDA_DEVNAME, "devname" },
710-
{ CTL_INT, NET_IRDA_DEBUG, "debug" },
711-
{ CTL_INT, NET_IRDA_FAST_POLL, "fast_poll_increase" },
712-
{ CTL_INT, NET_IRDA_DISCOVERY_SLOTS, "discovery_slots" },
713-
{ CTL_INT, NET_IRDA_DISCOVERY_TIMEOUT, "discovery_timeout" },
714-
{ CTL_INT, NET_IRDA_SLOT_TIMEOUT, "slot_timeout" },
715-
{ CTL_INT, NET_IRDA_MAX_BAUD_RATE, "max_baud_rate" },
716-
{ CTL_INT, NET_IRDA_MIN_TX_TURN_TIME, "min_tx_turn_time" },
717-
{ CTL_INT, NET_IRDA_MAX_TX_DATA_SIZE, "max_tx_data_size" },
718-
{ CTL_INT, NET_IRDA_MAX_TX_WINDOW, "max_tx_window" },
719-
{ CTL_INT, NET_IRDA_MAX_NOREPLY_TIME, "max_noreply_time" },
720-
{ CTL_INT, NET_IRDA_WARN_NOREPLY_TIME, "warn_noreply_time" },
721-
{ CTL_INT, NET_IRDA_LAP_KEEPALIVE_TIME, "lap_keepalive_time" },
722-
{}
723-
};
724-
725707
static const struct bin_table bin_net_table[] = {
726708
{ CTL_DIR, NET_CORE, "core", bin_net_core_table },
727709
/* NET_ETHER not used */
@@ -743,7 +725,7 @@ static const struct bin_table bin_net_table[] = {
743725
{ CTL_DIR, NET_LLC, "llc", bin_net_llc_table },
744726
{ CTL_DIR, NET_NETFILTER, "netfilter", bin_net_netfilter_table },
745727
/* NET_DCCP "dccp" no longer used */
746-
{ CTL_DIR, NET_IRDA, "irda", bin_net_irda_table },
728+
/* NET_IRDA "irda" no longer used */
747729
{ CTL_INT, 2089, "nf_conntrack_max" },
748730
{}
749731
};

0 commit comments

Comments
 (0)