From c53e1250ec5337f35891f719cf90af324e36b955 Mon Sep 17 00:00:00 2001 From: norly Date: Thu, 10 Feb 2022 21:21:26 +0100 Subject: [PATCH] Remove superfluous lines --- module/elmcan.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/module/elmcan.c b/module/elmcan.c index 9b4ea45..c1e665e 100644 --- a/module/elmcan.c +++ b/module/elmcan.c @@ -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 -- 2.30.2