|
@@ -415,10 +415,7 @@ static int solo_start_thread(struct solo_filehandle *fh)
|
|
|
{
|
|
|
fh->kthread = kthread_run(solo_thread, fh, SOLO6X10_NAME "_disp");
|
|
|
|
|
|
- if (IS_ERR(fh->kthread))
|
|
|
- return PTR_ERR(fh->kthread);
|
|
|
-
|
|
|
- return 0;
|
|
|
+ return PTR_RET(fh->kthread);
|
|
|
}
|
|
|
|
|
|
static void solo_stop_thread(struct solo_filehandle *fh)
|