lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 14 Apr 2014 18:08:36 +0800 From: "Li, Zhen-Hua" <zhen-hual@...com> To: <kas@...muni.cz>, <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org> Cc: "Li, Zhen-Hua" <zhen-hual@...com> Subject: [PATCH 1/1] driver/net: remove unused code in cosa module From: "Li, Zhen-Hua" <zhen-hual@...com> For the cosa module, CONFIG_COSA can only be checked as 'm', and cosa module can only be compiled as a module. So remove unused code in cosa.c Signed-off-by: Li, Zhen-Hua <zhen-hual@...com> --- drivers/net/wan/cosa.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index 84734a8..83c39e2 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c @@ -1521,11 +1521,7 @@ static int cosa_reset_and_read_id(struct cosa_data *cosa, char *idstring) cosa_putstatus(cosa, 0); cosa_getdata8(cosa); cosa_putstatus(cosa, SR_RST); -#ifdef MODULE msleep(500); -#else - udelay(5*100000); -#endif /* Disable all IRQs from the card */ cosa_putstatus(cosa, 0); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists