tion, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 30 +++---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 2 +-
drivers/net/ethernet/hisilicon/hn
eclaration, but can be made static.
So this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/dsa/mv88e6xxx/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip
' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/hisilic
his patch removes these unused functions.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qed/qed_cxt.c | 319 --
1 file changed, 319 deletions(-)
diff --git a/drivers/net/ethernet/qlogic/qed/qed_cxt.c
b/drivers/net/ethernet/qlogic/qed/qed_cxt.c
index d7e9b14
fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qed/qed_cxt.c | 16 -
drivers/net/ether
_link_ksettings' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/med
hus can be recognized in other file.
so this patch adds the missing function declaration into
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/ne
' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/hisilicon/h
but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
b/drivers/n
these functions are defined in the
macro 'INTERVAL_TREE_DEFINE' in include/linux/interval_tree_generic.h
and don't need a declaration, but can be made static.
so this patch marks these functions with 'static' by modifying
the macro.
Signed-off-by: Baoyou Xie
---
drivers/vho
gs' [-Wmissing-prototypes]
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:735:5: warning: no previous
prototype for 'hns_ae_get_regs_len' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration,
gs' [-Wmissing-prototypes]
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:735:5: warning: no previous
prototype for 'hns_ae_get_regs_len' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration,
eclaration, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xx
_link_ksettings' [-Wmissing-prototypes]
In fact, these two functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/marve
made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c
b/drivers/net/ethernet/hisilicon/
emac_drv_resume' [-Wmissing-prototypes]
In fact, these two functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/h
lled
by no one, thus can be removed.
So this patch removes the unused functions.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 122 -
1 file changed, 122 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c
b/d
pes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +-
drivers/ne
d a declaration, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/intel/igb/igb_ethtool.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c
b/d
totype for 'ixgbe_led_off_t_x550em' [-Wmissing-prototypes]
In fact, these two functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/et
We get 1 warning when building kernel with W=1:
drivers/isdn/mISDN/layer2.c:463:1: warning: no previous declaration for 'IsRR'
[-Wmissing-declarations]
In fact, this function is called by no one and not exported,
so this patch removes it.
Signed-off-by: Baoyou Xie
---
drivers/
which they are
declared and don't need a declaration, but can be made static.
So this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/isdn/mISDN/layer2.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions
d in other file.
So this patch moves the declaration into drivers/isdn/hisax/hscx.h.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hisax/elsa_ser.c | 2 +-
drivers/isdn/hisax/hscx.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/isdn/hisax/elsa_ser.c b/drivers/
So this patch adds function declarations in drivers/isdn/hisax/hisax.h.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hisax/config.c | 60 -
drivers/isdn/hisax/hisax.h | 60 +
2 files changed, 60 insertions(+
s.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/eicon/diva.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/isdn/hardware/eicon/diva.c
b/drivers/isdn/hardware/eicon/diva.c
index 9693add..ad32552 100644
--- a/drivers/isdn/hardware/eicon/diva.c
+++ b/drivers/isdn/hardware/ei
fact, these functions need be declare in some header files.
So this patch adds function declarations in
drivers/isdn/hardware/eicon/di_defs.h,
drivers/isdn/hardware/eicon/capifunc.h,
drivers/isdn/hardware/eicon/xdi_adapter.h.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/eicon/capifunc.c
_link_ksettings' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/marve
totype for 'free_sge_queues_uld' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethe
totype for 'hns_dsaf_roce_srst' [-Wmissing-prototypes]
In fact, these two functions are not declared in any file, but should
be declared in a header file, thus can be recognized in other file.
So this patch adds the declarations into
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h
Signed-off-by: Baoy
aration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/hisilicon/hisi_femac.c| 6 ++---
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 30 +++---
drivers/net/ethernet/hisil
d a declaration, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/intel/igb/igb_ethtool.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c
b/d
totype for 'ixgbe_led_off_t_x550em' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/i
t/mellanox/mlx5/core/eswitch.h
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 3 ---
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
b/
27;t need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/mellanox/mlxsw/spectrum.c| 6 --
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 4 ++--
2 files changed, 6 insertions
set_logical_link_config' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/eth
static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/phy/microchip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/microchip.c b/drivers/net/phy/microchip.c
index 15f8206..7c00e50 100644
--- a/drivers/
ng-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 10
static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/vhost/vhost.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index c6f2d89..bf045ac 100644
--- a/drivers/vhost/vhost.c
++
but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qede/qede_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c
b/drivers/net/etherne
ng-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
so this patch marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qed/qed_dcbx.c | 9 +++
otypes]
drivers/net/ethernet/qlogic/qed/qed_sriov.c:2762:5: warning: no previous
prototype for 'qed_iov_vf_flr_cleanup' [-Wmissing-prototypes]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be made static.
ck' [-Wmissing-prototypes]
In fact, these functions are declared in qed_selftest.h, so this patch
add missing header dependencies.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/qlogic/qed/qed_selftest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/qlogic/qe
made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/ethernet/arc/emac_mdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/arc/emac_mdio.c
b/drivers/net/ethernet/arc/emac_mdio.c
index 0584
se functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/usb/lan78xx.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c
index 6a9d474..8c467a5 100644
--- a/drivers/net/
ion, but can be made static.
so this patch marks this function with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/vmxnet3/vmxnet3_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c
b/drivers/net/vmxnet3/vmxnet3_drv.c
inde
x27;vpm_out' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:1028:1: warning: no previous declaration
for 'plxsd_checksync' [-Wmissing-declarations]
In fact, these functions are only used in the file in which they are
declared and don't need a declarat
static.
so this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/mISDN/w6692.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/isdn/hardware/mISDN/w6692.c
b/drivers/isdn/hardware/mISDN/w6692.c
index 7416755..3b067ea 100644
--- a/dr
x27;vpm_out' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:1028:1: warning: no previous declaration
for 'plxsd_checksync' [-Wmissing-declarations]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be
s.
Signed-off-by: Baoyou Xie
Acked-by: Arnd Bergmann
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoi
marks these functions with 'static'.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/mISDN/avmfritz.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/isdn/hardware/mISDN/avmfritz.c
b/drivers/isdn/hardware/mISDN/avmfritz.c
index 292991c..e3f
hich it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/ath/ath9k/gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/gpio.c
b
made static.
so this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/mISDN/mISDNipac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/isdn/hardware/mISDN/mISDNipac.c
b/drivers/isdn/hardware/mISDN/mISDNipac.c
index aa9b6c3..8d3
static.
so this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/isdn/hardware/mISDN/w6692.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/isdn/hardware/mISDN/w6692.c
b/drivers/isdn/hardware/mISDN/w6692.c
index 7416755..3b067ea 100644
--- a/dr
x27;vpm_out' [-Wmissing-declarations]
drivers/isdn/hardware/mISDN/hfcmulti.c:1028:1: warning: no previous declaration
for 'plxsd_checksync' [-Wmissing-declarations]
In fact, these functions are only used in the file in which they are
declared and don't need a declaration, but can be
s.
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
index a10f35c..fe67
hich it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/ath/ath9k/gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/gpio.c
b
only used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
es
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
index a10f35c..fe67
es
Signed-off-by: Baoyou Xie
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c
index a10f35c..fe67
59 matches
Mail list logo