net: ppp_generic - use idr technique instead of cardmaps
authorCyrill Gorcunov <gorcunov@openvz.org>
Wed, 17 Dec 2008 08:34:06 +0000 (00:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Dec 2008 08:34:06 +0000 (00:34 -0800)
commit7a95d267fb62cd6b80ef73be0592bbbe1dbd5df7
tree30d280777e087cc9c0e5686fc07c2b7d51af96d7
parentc0700f90e5300c63d01c70e157e75e4510dd2981
net: ppp_generic - use idr technique instead of cardmaps

Use idr technique instead of own implemented cardmaps.
It saves us a number of lines and gives an ability
to use library functions.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c