[PATCH linux dev-4.10 v3 23/31] drivers: fsi: occ: Destroy the ida list on exit
Andrew Jeffery
andrew at aj.id.au
Fri Oct 6 10:13:07 AEDT 2017
On Thu, 2017-10-05 at 14:24 -0500, Eddie James wrote:
> From: "Edward A. James" <eajames at us.ibm.com>
>
> Need to clean up the index list structure.
>
> Signed-off-by: Edward A. James <eajames at us.ibm.com>
Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
> ---
> drivers/fsi/occ.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/fsi/occ.c b/drivers/fsi/occ.c
> index f27345c..916c342 100644
> --- a/drivers/fsi/occ.c
> +++ b/drivers/fsi/occ.c
> @@ -788,6 +788,8 @@ static void occ_exit(void)
> destroy_workqueue(occ_wq);
>
> platform_driver_unregister(&occ_driver);
> +
> + ida_destroy(&occ_ida);
> }
>
> module_init(occ_init);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20171006/305477bd/attachment.sig>
More information about the openbmc
mailing list