xdp: Make __mem_id_disconnect static
authorYueHaibing <yuehaibing@huawei.com>
Tue, 25 Jun 2019 02:31:37 +0000 (10:31 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 26 Jun 2019 13:41:16 +0000 (15:41 +0200)
commit572a6928f9e3689ad2c2f94814e6215104eec1b7
treea97dbeb75f70efcc66d81fa6c6db4745eb6f0655
parent9e859e8f199d4ab15ed418f7d17735c77619d14f
xdp: Make __mem_id_disconnect static

Fix sparse warning:

net/core/xdp.c:88:6: warning:
 symbol '__mem_id_disconnect' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/core/xdp.c