]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_quota: drop pointless qsort cmp casting
authorEric Sandeen <sandeen@redhat.com>
Fri, 12 Feb 2021 22:23:05 +0000 (17:23 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 12 Feb 2021 22:23:05 +0000 (17:23 -0500)
commit559b58faae9ba70deb972b1d9af91ffdcec67c6c
tree441aaa1469ef222af08c9d2f74b2041a80b646cc
parent4d4ea220816061aaff60047350a87fd8d48d516b
xfs_quota: drop pointless qsort cmp casting

The function cast in this call to qsort is odd - we don't do it
anywhere else, and it doesn't gain us anything or help in any
way.

So remove it; since we are now passing void *p pointers in, locally
use du_t *d pointers to refer to the du_t's in the compare function.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
quota/quot.c