Print this page
6752 E_SUPPRESSION_DIRECTIVE_UNUSED lint warnings on SPARC build

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/clients/usbser/usbser.c
          +++ new/usr/src/uts/common/io/usb/clients/usbser/usbser.c
↓ open down ↓ 1857 lines elided ↑ open up ↑
1858 1858   * -----------------
1859 1859   *
1860 1860   *
1861 1861   * dispatch a thread
1862 1862   */
1863 1863  static void
1864 1864  usbser_thr_dispatch(usbser_thread_t *thr)
1865 1865  {
1866 1866          usbser_port_t   *pp = thr->thr_port;
1867 1867          usbser_state_t  *usp = pp->port_usp;
1868      -        /*LINTED E_FUNC_SET_NOT_USED*/
1869 1868          int             rval;
1870 1869  
1871 1870          ASSERT(mutex_owned(&pp->port_mutex));
1872 1871          ASSERT((thr->thr_flags & USBSER_THR_RUNNING) == 0);
1873 1872  
1874 1873          thr->thr_flags = USBSER_THR_RUNNING;
1875 1874  
1876 1875          rval = ddi_taskq_dispatch(usp->us_taskq, thr->thr_func, thr->thr_arg,
1877 1876              DDI_SLEEP);
1878 1877          ASSERT(rval == DDI_SUCCESS);
↓ open down ↓ 1592 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX