diff options
| author | Christian Lütke-Stetzkamp <christian@lkamp.de> | 2018-06-16 17:14:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 15:48:04 +0300 |
| commit | 41015d06e64fdafcbbb4ca17baf8a673f5ae3f09 (patch) | |
| tree | fa08be0c3795c71cf4a1a70f166970048318d19d /tools/perf/scripts/python/stackcollapse.py | |
| parent | d812c6a9bba4fad6eb82ff19428f6c6e4df3cdf3 (diff) | |
| download | linux-41015d06e64fdafcbbb4ca17baf8a673f5ae3f09.tar.xz | |
staging: mt7621-mmc: Remove unnecessary BUG_ON() in msdc_dma_setup
The BUG_ON() removed by this patch is just a duplicate of a prior
BUG_ON() statement. There the condition is just clearer, it checks
weather sglen > MAX_BD_NUM and MAX_BD_NUM is equal MAX_BD_PER_GPD. So
this statement can be safely removed.
Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
