summaryrefslogtreecommitdiff
path: root/include/rdma/rdma_cm_ib.h
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2019-09-21 01:55:48 +0200
committerThierry Reding <thierry.reding@gmail.com>2019-09-21 03:25:11 +0200
commitd85b9ce198e3689141cce965cb840f1c435ac4d5 (patch)
tree14496c02266ac65e7fe7ad5c72bf03078e87352e /include/rdma/rdma_cm_ib.h
parent3d4d85741ad3d880cb432d9121f5563e6a57ff2e (diff)
downloadlinux-next-d85b9ce198e3689141cce965cb840f1c435ac4d5.tar.gz
pwm: atmel: Remove unneeded check for match data
Since the driver is now exclusively DT, it only binds if it finds a match in the of_device_id table. But in that case the associated data can never be NULL, so drop the unnecessary check. While at it, drop the extra local variable and store the pointer to this per-SoC data in the driver data directly. Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include/rdma/rdma_cm_ib.h')
0 files changed, 0 insertions, 0 deletions