summaryrefslogtreecommitdiff
path: root/drivers/staging/android/Kconfig
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2018-04-20 19:56:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-23 14:51:37 +0200
commit7954c88408ca0c49689e75347739c2d5785bf5e0 (patch)
treec0b1722da3ce68c42808347e2b894d819788b226 /drivers/staging/android/Kconfig
parentd8caf662b4aeeb2ac83ac0b22e40db88e9360c77 (diff)
staging: android: ion: remove duplicate buffer field initializes
As a result of various previous patches, ion_buffer_create() now has two sets of identical statements for initializing two fields of the buffer struct, next to each other. Remove one set. Move the initialization of these two fields together with the statements that initialize the other two fields from the function parameters, prior to the heap allocate() call, for consistency. Signed-off-by: Todd Poynor <toddpoynor@google.com> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/Kconfig')
0 files changed, 0 insertions, 0 deletions