aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2017-11-24 10:43:07 +0100
committerLucas Stach <[email protected]>2018-01-02 17:26:59 +0100
commitc52837238038f61b6511eadee94fcab622d635f0 (patch)
treee397a964ff50688f22549599ec3385a9444be57b /net/unix/sysctl_net_unix.c
parentb6d6223f5029d3c4fe466ce1711fe4cb23d06013 (diff)
drm/etnaviv: simplify submit_create
Use kzalloc so other code doesn't need to worry about uninitialized members. Drop the non-standard GFP flags, as we really don't want to fail the submit when under slight memory pressure. Remove one level of indentation by using an early return if the allocation failed. Also remove the unused drm device member. Signed-off-by: Lucas Stach <[email protected]> Reviewed-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions