diff options
author | 2019-05-05 07:16:59 -0400 | |
---|---|---|
committer | 2019-05-05 21:42:16 -0700 | |
commit | a220eabc8887e3c02d308a9960e92a70cbd00b52 (patch) | |
tree | 9277ff14b96d24c71e7319ff37b72220537603bd /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | bnxt_en: Update firmware interface to 1.10.0.69. (diff) | |
download | wireguard-linux-a220eabc8887e3c02d308a9960e92a70cbd00b52.tar.xz wireguard-linux-a220eabc8887e3c02d308a9960e92a70cbd00b52.zip |
bnxt_en: Refactor bnxt_alloc_stats().
Reverse the condition of the large "if" block and return early. This
will simplify the follow up patch to add PCIe statistics.
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions