diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2018-03-31 20:56:23 -0700 |
|---|---|---|
| committer | Nathan Chancellor <natechancellor@gmail.com> | 2018-04-02 11:44:17 -0700 |
| commit | f2d62121df3b9ccd7751dcd734fc7353380bd9e0 (patch) | |
| tree | 4dbd16131495ecc36e65eea5cba72f5a0478bedd /scripts/gdb/linux/utils.py | |
| parent | adfae8d2281c40777298f229a007210ecb249161 (diff) | |
ANDROID: xt_qtaguid: Remove unnecessary null checks to device's name
'name' will never be NULL since it isn't a plain pointer but an array
of char values.
../net/netfilter/xt_qtaguid.c:1195:27: warning: address of array
'(*el_dev)->name' will always evaluate to 'true'
[-Wpointer-bool-conversion]
if (unlikely(!(*el_dev)->name)) {
~~~~~~~~~~~~^~~~
Change-Id: If3b25f17829b43e8a639193fb9cd04ae45947200
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
