]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blobdiff - include/linux/res_counter.h
res_counter: delete res_counter_write()
[can-eth-gw-linux.git] / include / linux / res_counter.h
index 7d7fbe2ef7822089c802c5654b4e0ec243f24a80..6f54e40fa218a3d09aa38aa49513d0c5616a83b5 100644 (file)
@@ -74,14 +74,9 @@ ssize_t res_counter_read(struct res_counter *counter, int member,
                const char __user *buf, size_t nbytes, loff_t *pos,
                int (*read_strategy)(unsigned long long val, char *s));
 
-typedef int (*write_strategy_fn)(const char *buf, unsigned long long *val);
-
 int res_counter_memparse_write_strategy(const char *buf,
                                        unsigned long long *res);
 
-int res_counter_write(struct res_counter *counter, int member,
-                     const char *buffer, write_strategy_fn write_strategy);
-
 /*
  * the field descriptors. one for each member of res_counter
  */