diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-02-14 07:56:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-17 03:12:22 +0100 |
commit | d0edde8d29887831c38c419728d5e0cab2419b88 (patch) | |
tree | 5efcc4dc0a6552716074ed85e8c67855ed77d3c7 /lib/fdt_empty_tree.c | |
parent | sock: consistent handling of extreme SO_SNDBUF/SO_RCVBUF values (diff) | |
download | linux-d0edde8d29887831c38c419728d5e0cab2419b88.tar.xz linux-d0edde8d29887831c38c419728d5e0cab2419b88.zip |
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>
Diffstat (limited to 'lib/fdt_empty_tree.c')
0 files changed, 0 insertions, 0 deletions