commit | c3643885aa8a3c7cff3ba3269337f39361d76f76 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Mon Oct 12 01:19:07 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 13 18:29:50 2015 -0700 |
tree | 2966f6a46a49d415ca042793185cd49a833fe6e0 | |
parent | 4bdc3d66147b3a623b32216a45431d0cff005f50 [diff] |
mISDN: use kstrdup() in dsp_pipeline_build Use kstrdup instead of strlen-kmalloc-strcpy. Remove unneeded NULL test, it will be tested inside kstrdup. Remove 0 length string test, it has been tested in the caller of dsp_pipeline_build. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: David S. Miller <davem@davemloft.net>