Re: [PATCH] hwrng: cavium: make two functions static

2018-03-09 Thread Herbert Xu
On Mon, Feb 26, 2018 at 02:51:19PM +, Colin King wrote: > From: Colin Ian King > > Functions cavium_rng_remove and cavium_rng_remove_vf are local to the > source and do not need to be in global scope, so make them static. > > Cleans up sparse warnings: >

[PATCH] hwrng: cavium: make two functions static

2018-02-26 Thread Colin King
From: Colin Ian King Functions cavium_rng_remove and cavium_rng_remove_vf are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: drivers/char/hw_random/cavium-rng-vf.c:80:7: warning: symbol 'cavium_rng_remove_vf'