Remove a shadow declaration of 'error' that caused certain tests to be

pointless.

Submitted by: Coverity Prevent analysis tool
This commit is contained in:
Scott Long 2005-02-12 04:51:19 +00:00
parent b85a2011c1
commit ac8be89de5

View File

@ -543,7 +543,6 @@ targwrite(struct cdev *dev, struct uio *uio, int ioflag)
("write - uio_resid %d\n", uio->uio_resid));
while (uio->uio_resid >= sizeof(user_ccb) && error == 0) {
union ccb *ccb;
int error;
error = uiomove((caddr_t)&user_ccb, sizeof(user_ccb), uio);
if (error != 0) {