Remove unused variable sc_tx_bufsz.

The variable is initialized but not used.

Reviewed by:	yongari
This commit is contained in:
Kevin Lo 2013-06-13 05:46:19 +00:00
parent 13b01d1d47
commit 85edd2e8f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251679
2 changed files with 0 additions and 5 deletions

View File

@ -833,19 +833,15 @@ axe_attach_post(struct usb_ether *ue)
/* Initialize controller and get station address. */
if (sc->sc_flags & AXE_FLAG_178) {
axe_ax88178_init(sc);
sc->sc_tx_bufsz = 16 * 1024;
axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr);
} else if (sc->sc_flags & AXE_FLAG_772) {
axe_ax88772_init(sc);
sc->sc_tx_bufsz = 8 * 1024;
axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr);
} else if (sc->sc_flags & AXE_FLAG_772A) {
axe_ax88772a_init(sc);
sc->sc_tx_bufsz = 8 * 1024;
axe_cmd(sc, AXE_178_CMD_READ_NODEID, 0, 0, ue->ue_eaddr);
} else if (sc->sc_flags & AXE_FLAG_772B) {
axe_ax88772b_init(sc);
sc->sc_tx_bufsz = 8 * 1024;
} else
axe_cmd(sc, AXE_172_CMD_READ_NODEID, 0, 0, ue->ue_eaddr);

View File

@ -349,7 +349,6 @@ struct axe_softc {
uint8_t sc_phyaddrs[2];
uint16_t sc_pwrcfg;
uint16_t sc_lenmask;
int sc_tx_bufsz;
};
#define AXE_IS_178_FAMILY(sc) \