summaryrefslogtreecommitdiff
path: root/drivers/staging/vme_user/vme.h
diff options
context:
space:
mode:
authorSoumya Negi <soumya.negi97@gmail.com>2023-10-20 04:55:22 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-21 13:02:36 +0300
commitc6054f43f782abcfc4ac887209c061a512bbab47 (patch)
tree525bf02eddb3b43bf0949c4f7a16ac940ffebec4 /drivers/staging/vme_user/vme.h
parent08c7bee3b3863eab155222b177cecf8aeaaa1232 (diff)
downloadlinux-c6054f43f782abcfc4ac887209c061a512bbab47.tar.xz
staging: vme_user: Remove NULL-checks
Don't check for empty bridge device & resource in vme_alloc_consistent() & vme_free_consistent() since they can not be NULL. Both the VME bridge device and the VME resource that are used in these functions are set at probe time. Signed-off-by: Soumya Negi <soumya.negi97@gmail.com> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/049bbedf458e8ac40f3dfff9c9b25dce89f5b642.1697763267.git.soumya.negi97@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vme_user/vme.h')
0 files changed, 0 insertions, 0 deletions