aboutsummaryrefslogtreecommitdiff
path: root/net/rds/threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rds/threads.c')
-rw-r--r--net/rds/threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/threads.c b/net/rds/threads.c
index 6e2e43d5f57..7a8ca7a1d98 100644
--- a/net/rds/threads.c
+++ b/net/rds/threads.c
@@ -215,7 +215,7 @@ void rds_threads_exit(void)
int __init rds_threads_init(void)
{
rds_wq = create_workqueue("krdsd");
- if (rds_wq == NULL)
+ if (!rds_wq)
return -ENOMEM;
return 0;