Commit 5933c31
committed
bnx2x: remove unused variable 'cur_data_offset'
JIRA: https://issues.redhat.com/browse/RHEL-23117
JIRA: https://issues.redhat.com/browse/RHEL-25588
commit 919d527
Author: Bill Wendling <morbo@google.com>
Date: Wed Jul 14 02:17:46 2021 -0700
bnx2x: remove unused variable 'cur_data_offset'
Fix the clang build warning:
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:1862:13: error: variable 'cur_data_offset' set but not used [-Werror,-Wunused-but-set-variable]
dma_addr_t cur_data_offset;
Signed-off-by: Bill Wendling <morbo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>1 parent e76cfc4 commit 5933c31
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
1874 | | - | |
1875 | 1874 | | |
1876 | 1875 | | |
1877 | 1876 | | |
| |||
1892 | 1891 | | |
1893 | 1892 | | |
1894 | 1893 | | |
1895 | | - | |
1896 | | - | |
1897 | | - | |
1898 | | - | |
1899 | 1894 | | |
1900 | 1895 | | |
1901 | 1896 | | |
| |||
1946 | 1941 | | |
1947 | 1942 | | |
1948 | 1943 | | |
1949 | | - | |
1950 | 1944 | | |
1951 | 1945 | | |
1952 | 1946 | | |
| |||
0 commit comments