From: Mark Einon Date: Wed, 3 Sep 2014 21:40:54 +0000 (+0100) Subject: staging: et131x: Remove dead code in isr X-Git-Tag: fixes-for-v3.18-merge-window~15^2~751 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be40a261aa52912b3e708e34383f0f0afb10d212;p=pandora-kernel.git staging: et131x: Remove dead code in isr Dan Carpenter reports: The patch c2ebf58ba089: "staging: et131x: Implement NAPI support" from Aug 21, 2014, leads to the following static checker warning: drivers/staging/et131x/et131x.c:4004 et131x_isr() warn: we tested 'status' before and it was 'true' We don't actually need the dead code, as we're now using NAPI to handle enabling interrupts - but we do need to enable interrupts if NAPI is not scheduled - so enable interrupts if this is the case. Reported-by: Dan Carpenter Signed-off-by: Mark Einon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed