summaryrefslogtreecommitdiffstats
path: root/kernel/seccomp.c
diff options
context:
space:
mode:
authorGeorge Spelvin2014-06-05 01:06:08 +0200
committerLinus Torvalds2014-06-05 01:53:54 +0200
commitb3821c3f866a1c02d1537ab67abe9a824d1353ae (patch)
tree177e80546b2589dbd831d8119ebe365eb210694e /kernel/seccomp.c
parentfs/ocfs2/super.c: use OCFS2_MAX_VOL_LABEL_LEN and strlcpy (diff)
downloadkernel-qcow2-linux-b3821c3f866a1c02d1537ab67abe9a824d1353ae.tar.gz
kernel-qcow2-linux-b3821c3f866a1c02d1537ab67abe9a824d1353ae.tar.xz
kernel-qcow2-linux-b3821c3f866a1c02d1537ab67abe9a824d1353ae.zip
ocfs2: remove some redundant casting
There are two standard techniques for dereferencing structures pointed to by void *: cast to the right type each time they're used, or assign to local variables of the right type. But there's no need to do *both*. Signed-off-by: George Spelvin <linux@horizon.com> Cc: Mark Fasheh <mfasheh@suse.com> Acked-by: Joel Becker <jlbec@evilplan.org> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions