From 9a42269d4d159826d941ee9f47b43cc56c30d619 Mon Sep 17 00:00:00 2001 From: norly Date: Thu, 28 Feb 2019 01:48:08 +0100 Subject: [PATCH] Silence unused parameter in elmcan_do_set_bittiming() --- module/elmcan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/elmcan.c b/module/elmcan.c index 239970d..07899f7 100644 --- a/module/elmcan.c +++ b/module/elmcan.c @@ -1113,6 +1113,8 @@ static const u32 elmcan_bitrate_const[64] = { /* Dummy needed to use bitrate_const */ static int elmcan_do_set_bittiming(struct net_device *netdev) { + (void)netdev; + return 0; } -- 2.30.2