From: Peter Huewe Date: Wed, 13 Feb 2013 03:05:23 +0000 (+0100) Subject: staging/rtl8187se: Remove temporary variable for return value X-Git-Tag: v3.9-rc1~127^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa341b6afab172b626f37b4ce6eff6d7485e400f;p=pandora-kernel.git staging/rtl8187se: Remove temporary variable for return value The simple PlatformIORead1Byte function doesn't need to store its return value in a temporary variable; rather simply return the value directly. By moving the function to the top we can also get rid of the forward declaration. The wrapper functions could be easily replaced by direct calls to read_nic_byte but is kept for readability. Since this functions is local only we can mark it as static. Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed