atm: clean up vcc_seq_next()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Feb 2019 06:56:35 +0000 (09:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 02:12:22 +0000 (18:12 -0800)
commitd0edde8d29887831c38c419728d5e0cab2419b88
tree5efcc4dc0a6552716074ed85e8c67855ed77d3c7
parent4057765f2dee79cb92f9067909477303360be8d3
atm: clean up vcc_seq_next()

It's confusing to call PTR_ERR(v).  The PTR_ERR() function is basically
a fancy cast to long so it makes you wonder, was IS_ERR() intended?  But
that doesn't make sense because vcc_walk() doesn't return error
pointers.

This patch doesn't affect runtime, it's just a cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/proc.c