diff options
author | Uwe Kleine-König | 2023-10-13 15:24:42 +0200 |
---|---|---|
committer | Christian Brauner | 2023-10-19 11:03:16 +0200 |
commit | e311ba29a552194ece6c1579fe434bdad550bfac (patch) | |
tree | 244e9001a9bf8cd1ab21a0f53d601e84e04f6761 /fs/erofs | |
parent | 2bc5e5e8167f2114976f00755b9a0c7f17d6f105 (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/erofs')
0 files changed, 0 insertions, 0 deletions