Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6aee49c5 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

dccp: make local variable static



Make DCCP module config variable static, only used in one file.

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd34d627
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -8,7 +8,7 @@
#include "tfrc.h"
#include "tfrc.h"


#ifdef CONFIG_IP_DCCP_TFRC_DEBUG
#ifdef CONFIG_IP_DCCP_TFRC_DEBUG
bool tfrc_debug;
static bool tfrc_debug;
module_param(tfrc_debug, bool, 0644);
module_param(tfrc_debug, bool, 0644);
MODULE_PARM_DESC(tfrc_debug, "Enable TFRC debug messages");
MODULE_PARM_DESC(tfrc_debug, "Enable TFRC debug messages");
#endif
#endif
+0 −1
Original line number Original line Diff line number Diff line
@@ -21,7 +21,6 @@
#include "packet_history.h"
#include "packet_history.h"


#ifdef CONFIG_IP_DCCP_TFRC_DEBUG
#ifdef CONFIG_IP_DCCP_TFRC_DEBUG
extern bool tfrc_debug;
#define tfrc_pr_debug(format, a...)	DCCP_PR_DEBUG(tfrc_debug, format, ##a)
#define tfrc_pr_debug(format, a...)	DCCP_PR_DEBUG(tfrc_debug, format, ##a)
#else
#else
#define tfrc_pr_debug(format, a...)
#define tfrc_pr_debug(format, a...)