-Wunused cleanup.
Submitted by: Poul-Henning Kamp <phk@freebsd.org>
This commit is contained in:
parent
0a42741c4a
commit
4663e36736
@ -55,7 +55,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: aha.c,v 1.8 1998/10/09 21:38:36 gibbs Exp $
|
||||
* $Id: aha.c,v 1.9 1998/10/15 19:53:30 imp Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -193,7 +193,6 @@ struct aha_softc *
|
||||
aha_alloc(int unit, bus_space_tag_t tag, bus_space_handle_t bsh)
|
||||
{
|
||||
struct aha_softc *aha;
|
||||
int i;
|
||||
|
||||
if (unit != AHA_TEMP_UNIT) {
|
||||
if (unit >= NAHA) {
|
||||
@ -283,7 +282,6 @@ aha_probe(struct aha_softc* aha)
|
||||
u_int status;
|
||||
u_int intstat;
|
||||
int error;
|
||||
u_int8_t param;
|
||||
board_id_data_t board_id;
|
||||
|
||||
/*
|
||||
@ -768,7 +766,6 @@ static void
|
||||
ahaaction(struct cam_sim *sim, union ccb *ccb)
|
||||
{
|
||||
struct aha_softc *aha;
|
||||
int s;
|
||||
|
||||
CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE, ("ahaaction\n"));
|
||||
|
||||
@ -1050,7 +1047,7 @@ ahaexecuteccb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
|
||||
struct aha_ccb *bccb;
|
||||
union ccb *ccb;
|
||||
struct aha_softc *aha;
|
||||
int s, i;
|
||||
int s;
|
||||
u_int32_t paddr;
|
||||
|
||||
bccb = (struct aha_ccb *)arg;
|
||||
|
@ -29,7 +29,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: bt.c,v 1.5 1998/10/09 21:38:34 gibbs Exp $
|
||||
* $Id: bt.c,v 1.6 1998/10/15 23:17:58 gibbs Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -194,7 +194,6 @@ struct bt_softc *
|
||||
bt_alloc(int unit, bus_space_tag_t tag, bus_space_handle_t bsh)
|
||||
{
|
||||
struct bt_softc *bt;
|
||||
int i;
|
||||
|
||||
if (unit != BT_TEMP_UNIT) {
|
||||
if (unit >= NBT) {
|
||||
@ -948,7 +947,6 @@ static void
|
||||
btaction(struct cam_sim *sim, union ccb *ccb)
|
||||
{
|
||||
struct bt_softc *bt;
|
||||
int s;
|
||||
|
||||
CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE, ("btaction\n"));
|
||||
|
||||
@ -1261,7 +1259,7 @@ btexecuteccb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
|
||||
struct bt_ccb *bccb;
|
||||
union ccb *ccb;
|
||||
struct bt_softc *bt;
|
||||
int s, i;
|
||||
int s;
|
||||
|
||||
bccb = (struct bt_ccb *)arg;
|
||||
ccb = bccb->ccb;
|
||||
|
@ -43,7 +43,7 @@
|
||||
* arrays that span controllers (Wow!).
|
||||
*/
|
||||
|
||||
#ident "$Id: dpt_scsi.c,v 1.18 1998/10/09 21:42:19 gibbs Exp $"
|
||||
#ident "$Id: dpt_scsi.c,v 1.19 1998/10/15 23:17:56 gibbs Exp $"
|
||||
|
||||
#define _DPT_C_
|
||||
|
||||
@ -378,8 +378,7 @@ dpt_get_conf(dpt_softc_t *dpt, dpt_ccb_t *dccb, u_int32_t dccb_busaddr,
|
||||
{
|
||||
eata_ccb_t *cp;
|
||||
|
||||
u_int16_t *ip;
|
||||
u_int8_t status, sig1, sig2, sig3;
|
||||
u_int8_t status;
|
||||
|
||||
int ndx;
|
||||
int ospl;
|
||||
@ -479,7 +478,6 @@ dpt_detect_cache(dpt_softc_t *dpt, dpt_ccb_t *dccb, u_int32_t dccb_busaddr,
|
||||
{
|
||||
eata_ccb_t *cp;
|
||||
u_int8_t *param;
|
||||
int size;
|
||||
int bytes;
|
||||
int result;
|
||||
int ospl;
|
||||
@ -611,7 +609,7 @@ dptexecuteccb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
|
||||
struct dpt_ccb *dccb;
|
||||
union ccb *ccb;
|
||||
struct dpt_softc *dpt;
|
||||
int s, i;
|
||||
int s;
|
||||
|
||||
dccb = (struct dpt_ccb *)arg;
|
||||
ccb = dccb->ccb;
|
||||
@ -706,7 +704,6 @@ static void
|
||||
dpt_action(struct cam_sim *sim, union ccb *ccb)
|
||||
{
|
||||
struct dpt_softc *dpt;
|
||||
int s;
|
||||
|
||||
CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE, ("dpt_action\n"));
|
||||
|
||||
@ -1003,8 +1000,6 @@ dpt_send_eata_command(dpt_softc_t *dpt, eata_ccb_t *cmd_block,
|
||||
u_int ifc, u_int code, u_int code2)
|
||||
{
|
||||
u_int loop;
|
||||
u_int result;
|
||||
u_int test;
|
||||
|
||||
if (!retries)
|
||||
retries = 20000;
|
||||
@ -1151,7 +1146,6 @@ dpt_init(struct dpt_softc *dpt)
|
||||
int index;
|
||||
int i;
|
||||
int retval;
|
||||
u_int8_t byte;
|
||||
|
||||
#ifdef DPT_RESET_BOARD
|
||||
printf("dpt%d: resetting HBA\n", dpt->unit);
|
||||
|
@ -148,7 +148,7 @@ isp_action(sim, ccb)
|
||||
{
|
||||
int s, tgt, error;
|
||||
struct ispsoftc *isp;
|
||||
struct ccb_trans_settings *cts, set;
|
||||
struct ccb_trans_settings *cts;
|
||||
|
||||
CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_TRACE, ("isp_action\n"));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user