staging: fsl-dpaa2/ethsw: remove redundant pointer 'port_priv'
authorColin Ian King <colin.king@canonical.com>
Wed, 29 Aug 2018 09:35:30 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 08:18:32 +0000 (10:18 +0200)
commitf8aefb7de0e2fdc5ffc3eddcc8f67430fe3fca5f
tree0ec248f4030490d06619775f0da5cc22e755d6af
parentf93861c2d6118f721a34656f3a23dc49400484af
staging: fsl-dpaa2/ethsw: remove redundant pointer 'port_priv'

Pointer 'port_priv' is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
variable 'port_priv' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c