net/virtio-user: drop attribute unused for memory callback
authorTiwei Bie <tiwei.bie@intel.com>
Tue, 19 Nov 2019 07:12:24 +0000 (15:12 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 26 Nov 2019 17:05:15 +0000 (18:05 +0100)
commit2286291df1007a1447dd3fc854e12a790a8353ba
tree3620be2040d627077a5e71217fb94c67bc303d0c
parent149677c9a3daddce5f849a991bae5b41010d0c17
net/virtio-user: drop attribute unused for memory callback

The "addr" param has been used since the event callbacks are enabled
for external memory. So the "__rte_unused" should be dropped.

Besides, slightly refine the coding style by consistently assuming
tabs are 8 characters.

Fixes: f32c7c9de961 ("malloc: enable event callbacks for external memory")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c