From: Joe Perches Date: Tue, 3 Apr 2012 21:46:49 +0000 (-0700) Subject: wireless: Remove unnecessary ; from while (0) macros X-Git-Tag: v3.5-rc1~109^2~487^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da951c2417ec1020d0d00813da36f38e395994e9;p=pandora-kernel.git wireless: Remove unnecessary ; from while (0) macros Semicolons are not necessary after macros that end in while (0). Remove them. Simplify the macros with tests of do { if (foo>size) memset1; else memset2;} while (0); to a single line memset(,,min_t(size_t, foo, size)) Signed-off-by: Joe Perches Acked-by: Arend van Spriel Acked-by: Larry Finger Acked-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed