commit | 9e2d7657e2a8fb40f732563dffb05151ea2d7e01 | [log] [tgz] |
---|---|---|
author | Bruce Allan <bruce.w.allan@intel.com> | Tue Jan 31 06:37:27 2012 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Feb 07 04:10:07 2012 -0800 |
tree | 73dfa5a48cffa79c6bdc54994a5fcb71c7a5aeee | |
parent | f36bb6cacd3bcbab9605e06f585ee8f1ea450876 [diff] |
e1000e: cleanup - check return values consistently The majority of the e1000e code checks most function return values using a test like 'if (ret_val)' or 'if (!ret_val)' but there are a few instances of 'if (ret_val == 0)'. This patch converts the latter to the former for consistency. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>