]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ksmbd: Remove unneeded if check in ksmbd_rdma_capable_netdev()
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 30 Dec 2024 12:44:56 +0000 (13:44 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 6 Jan 2025 02:43:37 +0000 (20:43 -0600)
commitc7f3cd1b245dbdd846ae376cc022c22af8059717
treeb0e29df8674ed1e2414d0535b98f7bf7a1a08938
parent4c16e1cadcbcaf3c82d5fc310fbd34d0f5d0db7c
ksmbd: Remove unneeded if check in ksmbd_rdma_capable_netdev()

Remove the unnecessary if check and assign the result directly.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/transport_rdma.c