Trivial patch from Randy Dunlap <rddunlap@osdl.org> removes some useless
error/retval assignments.
filp = fget(fd);
if (!filp)
goto out;
- error = 0;
error = security_file_ioctl(filp, cmd, arg);
if (error) {
static int do_umount(struct vfsmount *mnt, int flags)
{
struct super_block * sb = mnt->mnt_sb;
- int retval = 0;
+ int retval;
retval = security_sb_umount(mnt, flags);
if (retval)
asmlinkage long sys_prctl(int option, unsigned long arg2, unsigned long arg3,
unsigned long arg4, unsigned long arg5)
{
- int error = 0;
+ int error;
int sig;
error = security_task_prctl(option, arg2, arg3, arg4, arg5);