Commit 53da798e authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] namespace pollution in HDLC driver

From:  Arnd Bergmann <arnd@bergmann-dalldorf.de>

  A global variable should not be called 'debuglevel'. It can
  be made static since it is only used in one file.
parent 2e0c89f9
...@@ -185,10 +185,10 @@ MODULE_PARM(maxframe, "i"); ...@@ -185,10 +185,10 @@ MODULE_PARM(maxframe, "i");
/* debug level can be set by insmod for debugging purposes */ /* debug level can be set by insmod for debugging purposes */
#define DEBUG_LEVEL_INFO 1 #define DEBUG_LEVEL_INFO 1
int debuglevel=0; static int debuglevel;
/* max frame size for memory allocations */ /* max frame size for memory allocations */
ssize_t maxframe=4096; static ssize_t maxframe=4096;
/* TTY callbacks */ /* TTY callbacks */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment