diff options
author | Devendra Naga <develkernel412222@gmail.com> | 2012-07-29 05:28:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-30 08:18:30 +0200 |
commit | 17a2bf798621ce8579f7563deaf4640f15931d0e (patch) | |
tree | b910b49fd8d2969e043ffed7a316fdc078c8ea35 /include/net/dn.h | |
parent | bnx2x: remove cast around the kmalloc in bnx2x_prev_mark_path (diff) | |
download | linux-17a2bf798621ce8579f7563deaf4640f15931d0e.tar.xz linux-17a2bf798621ce8579f7563deaf4640f15931d0e.zip |
seeq: use PTR_RET at init_module of driver
the driver sees wether the dev_seeq pointer is having a error that can be
read by using the PTR_ERR, and returns it at error case, other wise 0 at
success case.
the PTR_RET does the same thing, and use PTR_RET instead of redoing the
code of PTR_RET
Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Acked-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dn.h')
0 files changed, 0 insertions, 0 deletions