]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most: cdev: remove overcautious parameter checking
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 22 Jun 2020 08:48:12 +0000 (10:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jun 2020 13:40:28 +0000 (15:40 +0200)
commit5b83d2ffbfef605b5fcac96c079f4e583c2005ec
tree10bde79af09d18a8b78baede8ed713154f261683
parente8db034939e02ab30dd4bf4cba01cce6376abeb9
staging: most: cdev: remove overcautious parameter checking

The interface pointer passed to a component API function cannot be NULL.
This patch removes unnecessary sanity checks of the pointer.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/1592815695-19305-4-git-send-email-christian.gromm@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/cdev/cdev.c