The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=53c1f1fc609190733adc2136c98c16086266f03e

commit 53c1f1fc609190733adc2136c98c16086266f03e
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-04-05 02:29:20 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2022-04-05 04:30:33 +0000

    wsp_intr_callback: eliminate write only variable h
    
    Sponsored by:           Netflix
---
 sys/dev/usb/input/wsp.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/dev/usb/input/wsp.c b/sys/dev/usb/input/wsp.c
index 2c70b24d1f89..c2da3df598c5 100644
--- a/sys/dev/usb/input/wsp.c
+++ b/sys/dev/usb/input/wsp.c
@@ -926,7 +926,6 @@ wsp_intr_callback(struct usb_xfer *xfer, usb_error_t error)
        const struct wsp_dev_params *params = sc->sc_params;
        struct usb_page_cache *pc;
        struct tp_finger *f;
-       struct tp_header *h;
        struct wsp_tuning tun = wsp_tuning;
        int ntouch = 0;                 /* the finger number in touch */
        int ibt = 0;                    /* button status */
@@ -968,8 +967,6 @@ wsp_intr_callback(struct usb_xfer *xfer, usb_error_t error)
                        memset(sc->tp_data + len, 0, sc->tp_datalen - len);
                }
 
-               h = (struct tp_header *)(sc->tp_data);
-
                if (params->tp != wsp_tp + TYPE1) {
                        ibt = sc->tp_data[params->tp->button];
                        ntouch = sc->tp_data[params->tp->button - 1];

Reply via email to