From: Michael Hoefler Date: Fri, 20 Dec 2013 13:51:13 +0000 (+0100) Subject: silicom: remaining checkpatch issues in bypass.c X-Git-Tag: v3.14-rc1~150^2~214 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=382d277b38785aafd0705488bf895cf85abef93a;p=pandora-kernel.git silicom: remaining checkpatch issues in bypass.c In this patch we fix some "logical" errors in bypass.c of the silicom bypass driver (in staging). Checkpatch complains about the following errors: - unnecessary forward declarations in a source file - assignment in if condition In addition to that the __init and __exit macros were missing at the init and cleanup function. There are still two warnings left for this file related to too many leadingtabs at nested blocks. I did not touch this issue becasue the code needs really some refactoring. And since i do not have the appropriate hardware to test the code, i do not change the functionality in any way. Signed-off-by: Michael Hoefler Signed-off-by: Christoph Kohl Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed