Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1542658

[PATCH 4/5] irda: irnet: Remove unused IRNET_MAJOR define

From Corentin Labbe <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 4/5] irda: irnet: Remove unused IRNET_MAJOR define
Date 2016-12-15 12:50 +0100
Message-ID <sOCHT-5f3-3@gated-at.bofh.it> (permalink)
References <sOC5c-52L-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The IRNET_MAJOR define is not used, so this patch remove it.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
---
 net/irda/irnet/irnet_ppp.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net/irda/irnet/irnet_ppp.h b/net/irda/irnet/irnet_ppp.h
index 18fcead..ec092c9 100644
--- a/net/irda/irnet/irnet_ppp.h
+++ b/net/irda/irnet/irnet_ppp.h
@@ -19,9 +19,6 @@
 
 /************************ CONSTANTS & MACROS ************************/
 
-/* /dev/irnet file constants */
-#define IRNET_MAJOR	10	/* Misc range */
-
 /* IrNET control channel stuff */
 #define IRNET_MAX_COMMAND	256	/* Max length of a command line */
 
-- 
2.10.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/5] irda: irproc.c: Remove unneeded linux/miscdevice.h include Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 12:10 +0100
  [PATCH 5/5] irda: irnet: add member name to the miscdevice declaration Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 12:10 +0100
    Re: [PATCH 5/5] irda: irnet: add member name to the miscdevice  declaration David Miller <davem@davemloft.net> - 2016-12-17 17:20 +0100
  [PATCH 4/5] irda: irnet: Remove unused IRNET_MAJOR define Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 12:50 +0100
    Re: [PATCH 4/5] irda: irnet: Remove unused IRNET_MAJOR define David Miller <davem@davemloft.net> - 2016-12-17 17:20 +0100
  [PATCH 2/5] irda: irnet: Move linux/miscdevice.h include Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-15 13:00 +0100
    Re: [PATCH 2/5] irda: irnet: Move linux/miscdevice.h include David Miller <davem@davemloft.net> - 2016-12-17 17:20 +0100
  Re: [PATCH 1/5] irda: irproc.c: Remove unneeded linux/miscdevice.h  include David Miller <davem@davemloft.net> - 2016-12-17 17:20 +0100

csiph-web