diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
| commit | f1d19042b082d95f07a0027e596ba2405aa8a9a5 (patch) | |
| tree | b856be4db5efb04d68d01039a157119ac8613b9f /sys/dev/smbus/smb.c | |
| parent | f769cca5eb9fed523269d85eefe74037ff7bd1b5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/smbus/smb.c')
| -rw-r--r-- | sys/dev/smbus/smb.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c index 94719fb83ad6..72c4780174d6 100644 --- a/sys/dev/smbus/smb.c +++ b/sys/dev/smbus/smb.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: smb.c,v 1.2 1998/09/04 17:53:42 nsouch Exp $ + * $Id: smb.c,v 1.3 1998/09/09 18:57:38 nsouch Exp $ * */ #include <sys/param.h> @@ -119,8 +119,6 @@ smb_probe(device_t dev) static int smb_attach(device_t dev) { - struct smb_softc *sc = (struct smb_softc *)device_get_softc(dev); - return (0); } @@ -161,7 +159,7 @@ smbwrite(dev_t dev, struct uio * uio, int ioflag) { device_t smbdev = IIC_DEVICE(minor(dev)); struct smb_softc *sc = IIC_SOFTC(minor(dev)); - int error, count; + int count; if (!sc || !smbdev) return (EINVAL); |
