From: norly Date: Thu, 10 Feb 2022 20:21:26 +0000 (+0100) Subject: Remove superfluous lines X-Git-Url: https://git.enpas.org/?p=elmcan.git;a=commitdiff_plain;h=c53e1250ec5337f35891f719cf90af324e36b955 Remove superfluous lines --- 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