Author: pjd Date: Thu Jun 7 23:08:18 2012 New Revision: 236730 URL: http://svn.freebsd.org/changeset/base/236730
Log: Eliminate redundant variable. Sponsored by: FreeBSD Foundation MFC after: 1 week Modified: head/sys/kern/tty.c Modified: head/sys/kern/tty.c ============================================================================== --- head/sys/kern/tty.c Thu Jun 7 22:57:26 2012 (r236729) +++ head/sys/kern/tty.c Thu Jun 7 23:08:18 2012 (r236730) @@ -1817,9 +1817,6 @@ ttyhook_register(struct tty **rtp, struc { struct tty *tp; struct file *fp; -#ifdef CAPABILITIES - struct file *fp_cap; -#endif struct cdev *dev; struct cdevsw *cdp; struct filedesc *fdp; @@ -1838,8 +1835,7 @@ ttyhook_register(struct tty **rtp, struc } #ifdef CAPABILITIES - fp_cap = fp; - error = cap_funwrap(fp_cap, CAP_TTYHOOK, &fp); + error = cap_funwrap(fp, CAP_TTYHOOK, &fp); if (error) goto done1; #endif _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"