mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-05-20 21:56:37 +00:00

To unclutter probe() a little bit, put all device initialization code in one spot and device deinit code in another spot. Also remove unused rq->buf_index variable/func. Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>