summaryrefslogtreecommitdiffstats
path: root/drivers/net/fddi
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-05-22 09:36:27 -0400
committerDavid S. Miller <davem@davemloft.net>2022-05-22 23:05:56 +0100
commit2a11fb1d1b8501c430472c66ea5390cb719bbd8f (patch)
tree357b3bcd0dc0057ca6769cf3cc902d770a1a3779 /drivers/net/fddi
parent265f58f60a29c2e9d471a928556622e2a4aa8b89 (diff)
downloadlinux-2a11fb1d1b8501c430472c66ea5390cb719bbd8f.tar.gz
linux-2a11fb1d1b8501c430472c66ea5390cb719bbd8f.tar.bz2
linux-2a11fb1d1b8501c430472c66ea5390cb719bbd8f.zip
net: fddi: skfp: smt: Remove extra parameters to vararg macro
cppcheck reports [drivers/net/fddi/skfp/smt.c:750]: (warning) printf format string requires 0 parameters but 2 are given. DB_SBAN is a vararg macro, like DB_ESSN. Remove the extra args and the nl. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi')
-rw-r--r--drivers/net/fddi/skfp/smt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/smt.c b/drivers/net/fddi/skfp/smt.c
index 72c31f0013ad..dd15af4e98c2 100644
--- a/drivers/net/fddi/skfp/smt.c
+++ b/drivers/net/fddi/skfp/smt.c
@@ -747,7 +747,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs)
#endif
#ifdef SBA
- DB_SBAN(2,"SBA: RAF frame received\n",0,0) ;
+ DB_SBAN(2, "SBA: RAF frame received") ;
sba_raf_received_pack(smc,sm,fs) ;
#endif
break ;