Remove superfluous lines
authornorly <ny-git@enpas.org>
Thu, 10 Feb 2022 20:21:26 +0000 (21:21 +0100)
committernorly <ny-git@enpas.org>
Thu, 10 Feb 2022 20:21:26 +0000 (21:21 +0100)
module/elmcan.c

index 9b4ea45d94d8f4fb44b575bbc812a1cd59e1397b..c1e665e722c62ff378c017c0ff7f1f61a4daf519 100644 (file)
@@ -1092,8 +1092,6 @@ 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;
 }
 
@@ -1267,9 +1265,6 @@ static int __init elmcan_init(void)
 {
        int status;
 
-       pr_info("ELM327 based best effort CAN interface driver\n");
-       pr_info("This device is severely limited as a CAN interface, see documentation.\n");
-
 #if LINUX_VERSION_CODE < KERNEL_VERSION(5,14,0)
        status = tty_register_ldisc(N_ELMCAN, &elmcan_ldisc);
 #else