diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-10-13 16:24:42 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-19 12:03:16 +0300 |
commit | e311ba29a552194ece6c1579fe434bdad550bfac (patch) | |
tree | 244e9001a9bf8cd1ab21a0f53d601e84e04f6761 /fs/fs-writeback.c | |
parent | 2bc5e5e8167f2114976f00755b9a0c7f17d6f105 (diff) | |
download | linux-e311ba29a552194ece6c1579fe434bdad550bfac.tar.xz |
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/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions