mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
atl1: make atl1_init_ring_ptrs static
Sparse (correctly) thinks this function should be static. Make it so. Signed-off-by: Chris Snook <csnook@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
8d22c9711a
commit
3d2557f681
@ -315,7 +315,7 @@ err_nomem:
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
void atl1_init_ring_ptrs(struct atl1_adapter *adapter)
|
static void atl1_init_ring_ptrs(struct atl1_adapter *adapter)
|
||||||
{
|
{
|
||||||
struct atl1_tpd_ring *tpd_ring = &adapter->tpd_ring;
|
struct atl1_tpd_ring *tpd_ring = &adapter->tpd_ring;
|
||||||
struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring;
|
struct atl1_rfd_ring *rfd_ring = &adapter->rfd_ring;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user