svn commit: r259977 - in stable: 10/sys/dev/advansys 9/sys/dev/advansys

Dimitry Andric dim at FreeBSD.org
Sat Dec 28 00:16:59 UTC 2013


Author: dim
Date: Sat Dec 28 00:16:58 2013
New Revision: 259977
URL: http://svnweb.freebsd.org/changeset/base/259977

Log:
  MFC r259825:
  
  Remove unused static function adwccbstatus() from adw(4).
  
  Reviewed by:	gibbs

Modified:
  stable/10/sys/dev/advansys/adwcam.c
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/9/sys/dev/advansys/adwcam.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/10/sys/dev/advansys/adwcam.c
==============================================================================
--- stable/10/sys/dev/advansys/adwcam.c	Sat Dec 28 00:03:15 2013	(r259976)
+++ stable/10/sys/dev/advansys/adwcam.c	Sat Dec 28 00:16:58 2013	(r259977)
@@ -75,7 +75,6 @@ __FBSDID("$FreeBSD$");
 #define ccb_acb_ptr spriv_ptr0
 #define ccb_adw_ptr spriv_ptr1
 
-static __inline cam_status	adwccbstatus(union ccb*);
 static __inline struct acb*	adwgetacb(struct adw_softc *adw);
 static __inline void		adwfreeacb(struct adw_softc *adw,
 					   struct acb *acb);
@@ -100,12 +99,6 @@ static void		adw_handle_device_reset(str
 static void		adw_handle_bus_reset(struct adw_softc *adw,
 					     int initiated);
 
-static __inline cam_status
-adwccbstatus(union ccb* ccb)
-{
-	return (ccb->ccb_h.status & CAM_STATUS_MASK);
-}
-
 static __inline struct acb*
 adwgetacb(struct adw_softc *adw)
 {


More information about the svn-src-stable-10 mailing list