file: show "data" ubus parameter only when used
authorLuka Perkov <luka@openwrt.org>
Tue, 10 Mar 2015 17:00:01 +0000 (18:00 +0100)
committerJohn Crispin <blogic@openwrt.org>
Wed, 11 Mar 2015 15:25:29 +0000 (16:25 +0100)
commite2d37b7e401d2c50a7cd8f97a256e7deb12f96ab
tree29949d45671d2c38ee2c39c3bf0409a9da1dbe41
parentb71df5b75f9abb369cdcc69ba47297e5fbc17a64
file: show "data" ubus parameter only when used

The ubus calls for file read, list and stat do not use data parameter, so lets
remove them to avoid confusion.

Signed-off-by: Luka Perkov <luka@openwrt.org>
file.c