e1000/base: remove useless return variables
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 16 Oct 2015 02:50:56 +0000 (10:50 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 27 Oct 2015 13:20:24 +0000 (14:20 +0100)
commitbf36acdc7d6fe04c9961299dd0d18b426ecf1036
tree7f48cfc00ba7cbc22f73ed38d9fe81ed0962eff9
parent3c027139fee3b3acd9ab71cca8f60465b7ed2ecb
e1000/base: remove useless return variables

Although this change should be optimized out by the compiler, just
return a constant directly rather than declare a variable.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/e1000/base/e1000_82575.c