Re: [PATCH v2 02/19] scsi: libsas and users: Remove notifier indirection

2021-01-12 Thread Ahmed S. Darwish
On Tue, Jan 12, 2021 at 11:36:21AM +, John Garry wrote: > On 12/01/2021 11:06, Ahmed S. Darwish wrote: > > From: John Garry > > > > The LLDDs report events to libsas with .notify_port_event and > > .notify_phy_event callbacks. > > > > These callbacks are fixed and so there is no reason why we c

Re: [PATCH v2 02/19] scsi: libsas and users: Remove notifier indirection

2021-01-12 Thread John Garry
On 12/01/2021 11:06, Ahmed S. Darwish wrote: From: John Garry The LLDDs report events to libsas with .notify_port_event and .notify_phy_event callbacks. These callbacks are fixed and so there is no reason why we cannot call the functions directly, so do that. This neatens the code slightly. [