diff options
| author | Bhumika Goyal <[email protected]> | 2016-10-15 11:43:48 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-17 09:46:58 +0200 |
| commit | 2328ed663b3a34123df2c794f95505d332dc5284 (patch) | |
| tree | dc8ba31b7873f69fb149df3422219df177f22118 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4d79f43191305b8382ae90147a34487b347b0509 (diff) | |
Staging: android: ion: constify dma_buf_ops structure
The dma_buf_ops structure is stored in the ops field of a
dma_buf_export_info structure and also used as a condition inside the
if() statement. The if condition does not modify its value and the
ops field is of type const struct *dma_buf_ops, so dma_buf_ops
structures having this property can be declared as const.
File size before:
text data bss dec hex filename
14471 819 224 15514 3c9a
drivers/staging/android/ion/ion.o
File size after:
text data bss dec hex filename
14599 707 224 15530 3caa
drivers/staging/android/ion/ion.o
Signed-off-by: Bhumika Goyal <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions