Yet more redundant parenthesis from r298431.
Mea culpa.
This commit is contained in:
parent
ca3ce56474
commit
a380994fff
@ -4702,7 +4702,7 @@ scsi_sense_desc_sbuf(struct sbuf *sb, struct scsi_sense_data *sense,
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < (nitems(scsi_sense_printers)); i++) {
|
||||
for (i = 0; i < nitems(scsi_sense_printers); i++) {
|
||||
struct scsi_sense_desc_printer *printer;
|
||||
|
||||
printer = &scsi_sense_printers[i];
|
||||
@ -7285,8 +7285,7 @@ struct scsi_attrib_table_entry *
|
||||
scsi_get_attrib_entry(uint32_t id)
|
||||
{
|
||||
return (scsi_find_attrib_entry(scsi_mam_attr_table,
|
||||
nitems(scsi_mam_attr_table),
|
||||
id));
|
||||
nitems(scsi_mam_attr_table), id));
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -85,7 +85,7 @@ static struct ae_dev {
|
||||
{ VENDORID_ATTANSIC, DEVICEID_ATTANSIC_L2,
|
||||
"Attansic Technology Corp, L2 FastEthernet" },
|
||||
};
|
||||
#define AE_DEVS_COUNT (nitems(ae_devs))
|
||||
#define AE_DEVS_COUNT nitems(ae_devs)
|
||||
|
||||
static struct resource_spec ae_res_spec_mem[] = {
|
||||
{ SYS_RES_MEMORY, PCIR_BAR(0), RF_ACTIVE },
|
||||
|
@ -68,7 +68,7 @@ static u_long digi_validmem[] = {
|
||||
0xf6000000, 0xf7000000, 0xf8000000, 0xf9000000, 0xfa000000, 0xfb000000,
|
||||
0xfc000000, 0xfd000000, 0xfe000000, 0xff000000
|
||||
};
|
||||
#define DIGI_NVALIDMEM (nitems(digi_validmem))
|
||||
#define DIGI_NVALIDMEM nitems(digi_validmem)
|
||||
|
||||
static u_char *
|
||||
digi_isa_setwin(struct digi_softc *sc, unsigned int addr)
|
||||
|
@ -214,7 +214,7 @@ ed_probe_HP_pclanp(device_t dev, int port_rid, int flags)
|
||||
* Check for impossible IRQ.
|
||||
*/
|
||||
|
||||
if (irq >= (nitems(ed_hpp_intr_val)))
|
||||
if (irq >= nitems(ed_hpp_intr_val))
|
||||
return (ENXIO);
|
||||
|
||||
/*
|
||||
|
@ -113,7 +113,7 @@ static int i686_mtrrtomrt[] = {
|
||||
MDF_WRITEBACK
|
||||
};
|
||||
|
||||
#define MTRRTOMRTLEN (nitems(i686_mtrrtomrt))
|
||||
#define MTRRTOMRTLEN nitems(i686_mtrrtomrt)
|
||||
|
||||
static int
|
||||
i686_mtrr2mrt(int val)
|
||||
|
Loading…
x
Reference in New Issue
Block a user