Initialize the ops through tp->version. This could skip checking each VID/PID. Hayes Wang (3): r8152: move r8152b_get_version r8152: modify rtl_ops_init r8152: remove the definitions of the PID drivers/net/usb/r8152.c | 92 +++++++++++++++++-------------------------------- 1 file changed, 32 insertions(+), 60 deletions(-) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html