diff options
| author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2020-07-13 13:53:30 +0900 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-13 11:49:51 -0700 |
| commit | c19b05b84ddece7708ed0537a92d1dfabdfd98fb (patch) | |
| tree | a38b33eb751533db2a2f0e3bfb50034f2dc12f1c /drivers/net/fddi/skfp/h | |
| parent | net: bridge: fix undefined br_vlan_can_enter_range in tunnel code (diff) | |
| download | linux-c19b05b84ddece7708ed0537a92d1dfabdfd98fb.tar.gz linux-c19b05b84ddece7708ed0537a92d1dfabdfd98fb.zip | |
net: fddi: skfp: Remove addr_to_string().
kbuild test robot found that addr_to_string() is available only when
DEBUG is defined. And I found that what that function is doing is
what %pM will do. Thus, replace %s with %pM and remove thread-unsafe
addr_to_string() function.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi/skfp/h')
| -rw-r--r-- | drivers/net/fddi/skfp/h/cmtdef.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/h/cmtdef.h b/drivers/net/fddi/skfp/h/cmtdef.h index 3a1ceb7cb8d2..4dd590d65d76 100644 --- a/drivers/net/fddi/skfp/h/cmtdef.h +++ b/drivers/net/fddi/skfp/h/cmtdef.h @@ -640,7 +640,6 @@ void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text); #define dump_smt(smc,sm,text) #endif -char* addr_to_string(struct fddi_addr *addr); #ifdef DEBUG void dump_hex(char *p, int len); #endif |
