aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2012-06-26 12:57:03 -0700
committerSage Weil <[email protected]>2012-07-30 18:21:46 -0700
commit57cfc1060f35ac2345cb37ea474f9644ac5cfd75 (patch)
tree5a9d18fe47badf7002172cb2af6375d34e5159a6 /net/lapb/lapb_timer.c
parent4e891e0af0f0011c90067373c46d7228568ec079 (diff)
rbd: make rbd_create_rw_ops() return a pointer
Either rbd_create_rw_ops() will succeed, or it will fail because a memory allocation failed. Have it just return a valid pointer or null rather than stuffing a pointer into a provided address and returning an errno. Signed-off-by: Alex Elder <[email protected]> Reviewed-by: Josh Durgin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions