8812 xge: variable set but not used

Review Request #739 - Created Nov. 18, 2017 and submitted

Information
Toomas Soome
illumos-gate
8812
3d34166...
Reviewers
general
../../common/io/xge/hal/xgehal/xgehal-channel.c: In function '__hal_channel_dtr_next_not_completed':
../../common/io/xge/hal/xgehal/xgehal-channel.c:80:24: error: variable 'rxdp' set but not used [-Werror=unused-but-set-variable]
  xge_hal_ring_rxd_1_t *rxdp; /* doesn't matter 1, 3 or 5... */
                        ^~~~

../../common/io/xge/hal/xgehal/xgehal-ring.c:79:21: error: variable 'from_dma' set but not used [-Werror=unused-but-set-variable]
  dma_addr_t to_dma, from_dma;
                     ^~~~~~~~

cc1: all warnings being treated as errors

  
Yuri Pankov
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...