aboutsummaryrefslogtreecommitdiff
path: root/fs/internal.h
diff options
context:
space:
mode:
authorUwe Kleine-König2023-10-13 15:24:42 +0200
committerChristian Brauner2023-10-19 11:03:16 +0200
commite311ba29a552194ece6c1579fe434bdad550bfac (patch)
tree244e9001a9bf8cd1ab21a0f53d601e84e04f6761 /fs/internal.h
parent2bc5e5e8167f2114976f00755b9a0c7f17d6f105 (diff)
chardev: Simplify usage of try_module_get()
try_module_get(NULL) is true, so there is no need to check owner being NULL. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20231013132441.1406200-2-u.kleine-koenig@pengutronix.de Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions