Browse Source

linux-v4l2: Remove redundant non-NULL check on FILE

Stefan Hoffmeister 3 years ago
parent
commit
fbb7b93226
1 changed files with 1 additions and 2 deletions
  1. 1 2
      plugins/linux-v4l2/v4l2-output.c

+ 1 - 2
plugins/linux-v4l2/v4l2-output.c

@@ -75,8 +75,7 @@ static bool loopback_module_loaded()
 		}
 		}
 	}
 	}
 
 
-	if (fp)
-		fclose(fp);
+	fclose(fp);
 
 
 	return loaded;
 	return loaded;
 }
 }