summaryrefslogtreecommitdiff
path: root/drivers/md/dm-stats.h
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2013-09-13 08:23:18 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-09-27 11:50:46 (GMT)
commit93bc73b8273e40d8202764a1096ce59c5f7f7c0c (patch)
tree81efe3863996949566f02b72b5c47bd6c975f258 /drivers/md/dm-stats.h
parent5aa3a44918db13257ade0bb1caf662f7815de357 (diff)
downloadlinux-fsl-qoriq-93bc73b8273e40d8202764a1096ce59c5f7f7c0c.tar.xz
i40e: use common failure flow
As mentioned by Joe Perches, we should be using foo = alloc(...) if (!foo) return -ENOMEM; return 0; Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> CC: Joe Perches <joe@perches.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/md/dm-stats.h')
0 files changed, 0 insertions, 0 deletions