Skip to content
Commit 98cffb11 authored by Naveen Mamindlapalli's avatar Naveen Mamindlapalli Committed by Ruiqiang Hao
Browse files

octeontx2-bphy-netdev: cpri: fix compilation warnings



commit  a1a8d2587ecfa7da5cea8c5820266a73161160ec from
https://git.assembla.com/cavium/WindRiver.linux.git

Fixed following compilation warnings.

drivers/net/ethernet/marvell/octeontx2/bphy/otx2_cpri.c:60:20:
warning: no previous prototype for ‘otx2_cpri_get_netdev’
	[-Wmissing-prototypes]

drivers/net/ethernet/marvell/octeontx2/bphy/otx2_cpri.c:129:6:
warning: variable ‘sw_rd_ptr’ set but not used
	[-Wunused-but-set-variable]

Change-Id: I452b38bfd804862298db9ac06820ec59b34715da
Signed-off-by: default avatarNaveen Mamindlapalli <naveenm@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/51954
Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 094861e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment