summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2018-05-25 21:43:03 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-29 07:04:26 +0300
commit6986df9686c55464b0fa0f36a02f4da81d99a3b1 (patch)
treef74c23774eb3650047ab2e31fbae82fe4fa50e2a /scripts/gdb/linux/utils.py
parent7d0b130cbbfa4651cc1ab9268a2956c1b9d82ff9 (diff)
downloadlinux-6986df9686c55464b0fa0f36a02f4da81d99a3b1.tar.xz
net: hns3: Removes unnecessary check when clearing TX/RX rings
Our code will ensure that hns3_clear_tx_ring is not used to cleared RX rings and hns3_clear_rx_ring is not used to cleared TX rings. So the ring type check is unnecessary. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions