mirror of
https://github.com/versity/scoutfs.git
synced 2026-08-28 11:56:38 +00:00
Remove copy/paste duplicate op flag check.
The exact 2 lines here are repeated. It suggests that there may have been the intent of an additional check, but, there isn't anything left from what I can see that needs checking here. Signed-off-by: Auke Kok <auke.kok@versity.com>
This commit is contained in:
@@ -415,8 +415,6 @@ static long scoutfs_ioc_data_wait_err(struct file *file, unsigned long arg)
|
||||
return 0;
|
||||
if ((args.op & SCOUTFS_IOC_DWO_UNKNOWN) || !IS_ERR_VALUE(args.err))
|
||||
return -EINVAL;
|
||||
if ((args.op & SCOUTFS_IOC_DWO_UNKNOWN) || !IS_ERR_VALUE(args.err))
|
||||
return -EINVAL;
|
||||
|
||||
trace_scoutfs_ioc_data_wait_err(sb, &args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user