summaryrefslogtreecommitdiff
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-25 02:05:04 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-25 02:39:04 +0400
commita332eeac4d196f927893b21f0d923b89cf545acc (patch)
tree1f8cf403ece5a59a3a8b1cea8788fdb53062caf9 /ipc/msg.c
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b (diff)
downloadlinux-a332eeac4d196f927893b21f0d923b89cf545acc.tar.xz
misc: c2port: use dev_bin_attrs instead of hand-coding it
Classes support a list of default binary attributes, so use that in the c2port driver, instead of hand creating and destroying the file, which is racing with userspace. Bonus is this removes lines of code. Cc: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions