mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
ata: Retire unused variable / externs
When looking for something else, I noticed these are no longer used anywhere. Sponsored by: Netflix
This commit is contained in:
parent
21795c374a
commit
e0e5081538
|
@ -71,7 +71,6 @@ static int ata_str2mode(const char *str);
|
|||
|
||||
/* global vars */
|
||||
MALLOC_DEFINE(M_ATA, "ata_generic", "ATA driver generic layer");
|
||||
int (*ata_raid_ioctl_func)(u_long cmd, caddr_t data) = NULL;
|
||||
devclass_t ata_devclass;
|
||||
int ata_dma_check_80pin = 1;
|
||||
|
||||
|
@ -428,7 +427,7 @@ void
|
|||
ata_udelay(int interval)
|
||||
{
|
||||
/* for now just use DELAY, the timer/sleep subsystems are not there yet */
|
||||
if (1 || interval < (1000000/hz) || ata_delayed_attach)
|
||||
if (1 || interval < (1000000/hz))
|
||||
DELAY(interval);
|
||||
else
|
||||
pause("ataslp", interval/(1000000/hz));
|
||||
|
|
|
@ -450,11 +450,7 @@ struct ata_channel {
|
|||
#define ATA_LED_MASK 0x03
|
||||
|
||||
/* externs */
|
||||
extern int (*ata_raid_ioctl_func)(u_long cmd, caddr_t data);
|
||||
extern struct intr_config_hook *ata_delayed_attach;
|
||||
extern devclass_t ata_devclass;
|
||||
extern int ata_wc;
|
||||
extern int ata_setmax;
|
||||
extern int ata_dma_check_80pin;
|
||||
|
||||
/* public prototypes */
|
||||
|
|
Loading…
Reference in a new issue