Silence unused parameter in elmcan_do_set_bittiming()
authornorly <ny-git@enpas.org>
Thu, 28 Feb 2019 00:48:08 +0000 (01:48 +0100)
committernorly <ny-git@enpas.org>
Thu, 28 Feb 2019 00:48:08 +0000 (01:48 +0100)
module/elmcan.c

index 239970d04fd32fbc044536cdabc75771cf58126d..07899f7e982dadb94a0d42e58b5597537d741a7a 100644 (file)
@@ -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;
 }