Hello,

I was reading the drivers/ieee802154/serial.c file (in the devel 
branch) and found the following code to be unreachable in function 
ieee802154_tty_open(), near line 889:
> [...]
>      return 0;
>
>      ieee802154_unregister_device(zbdev->dev);
>
> out_free:
> [...]

I believe the call to ieee802154_unregister_device() should be placed 
after the out_free label (or else, it is never reached). Can you 
confirm?

Regards,
Tony


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to