aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKaixu Xia <kaixuxia@tencent.com>2020-04-22 21:54:29 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-05-04 09:03:14 -0700
commit7994aae8516aa35ca26dba64cf8d6938e93c2265 (patch)
tree40144457c53c0657aa1f85b0a74c201a048d4526 /tools/perf/scripts/python
parentxfs: remove unnecessary variable udqp from xfs_ioctl_setattr (diff)
downloadlinux-7994aae8516aa35ca26dba64cf8d6938e93c2265.tar.gz
linux-7994aae8516aa35ca26dba64cf8d6938e93c2265.zip
xfs: remove unnecessary assertion from xfs_qm_vop_create_dqattach
The check XFS_IS_QUOTA_RUNNING() has been done when enter the xfs_qm_vop_create_dqattach() function, it will return directly if the result is false, so the followed XFS_IS_QUOTA_RUNNING() assertion is unnecessary. If we truly care about this, the check also can be added to the condition of next if statements. Signed-off-by: Kaixu Xia <kaixuxia@tencent.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions