net: drop capability from protocol definitions
[firefly-linux-kernel-4.4.55.git] / include / linux / can / core.h
index 25085cbadcfcded25b013923664c02c28508ebe7..6c507bea275f314f6bfa308b246c330f834e2ae7 100644 (file)
  * struct can_proto - CAN protocol structure
  * @type:       type argument in socket() syscall, e.g. SOCK_DGRAM.
  * @protocol:   protocol number in socket() syscall.
- * @capability: capability needed to open the socket, or -1 for no restriction.
  * @ops:        pointer to struct proto_ops for sock->ops.
  * @prot:       pointer to struct proto structure.
  */
 struct can_proto {
        int              type;
        int              protocol;
-       int              capability;
        struct proto_ops *ops;
        struct proto     *prot;
 };