mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
crypto: hisilicon/qm - delete redundancy check
Because the permission on the VF debugfs file is "0444". So the VF function checking is redundant in qos writing api. Signed-off-by: Kai Ye <yekai13@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
22d7a6c39c
commit
8f82f4ae89
@ -4632,9 +4632,6 @@ static ssize_t qm_algqos_write(struct file *filp, const char __user *buf,
|
||||
unsigned long val;
|
||||
int len, ret;
|
||||
|
||||
if (qm->fun_type == QM_HW_VF)
|
||||
return -EINVAL;
|
||||
|
||||
if (*pos != 0)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user