Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/lib remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/c4da84681655
branches:  trunk
changeset: 790780:c4da84681655
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 20 21:06:37 2013 +0000

description:
remove unused variable

diffstat:

 sys/arch/i386/stand/lib/dosfile.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r f6098f34019e -r c4da84681655 sys/arch/i386/stand/lib/dosfile.c
--- a/sys/arch/i386/stand/lib/dosfile.c Sun Oct 20 21:06:09 2013 +0000
+++ b/sys/arch/i386/stand/lib/dosfile.c Sun Oct 20 21:06:37 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dosfile.c,v 1.15 2011/06/16 13:27:59 joerg Exp $        */
+/*     $NetBSD: dosfile.c,v 1.16 2013/10/20 21:06:37 christos Exp $     */
 
 /*
  * Copyright (c) 1996
@@ -178,9 +178,6 @@
 __compactcall int
 dos_stat(struct open_file *f, struct stat *sb)
 {
-       struct dosfile *df;
-       df = (struct dosfile *) f->f_fsdata;
-
        sb->st_mode = 0444;
        sb->st_nlink = 1;
        sb->st_uid = 0;



Home | Main Index | Thread Index | Old Index