]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
aquosa: Do not overwrite errno on initialization
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 6 May 2009 11:21:24 +0000 (13:21 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 6 May 2009 11:21:24 +0000 (13:21 +0200)
resources/cpu_aquosa/lib/aqcpu_fra.c

index 1e03ccabc005561e588f5f03de57daa16882897e..75840e2b28c859efe3d6e3e3ab8bd81140a530f1 100644 (file)
@@ -193,11 +193,6 @@ static inline void aqcpu_cleanup_wrapper() {
  * backgound contracts are left into the default Linux scheduler hands' and
  * not attached to any AQuoSA server, while we're violating what D-AC2v1
  * (pag. 14) says, we achieve exactly the same behaviour!!
- *
- * possible return values:
- *  FRSH_NO_ERROR
- *  FRSH_ERR_ALREADY_INITIALIZED
- *  FRSH_ERR_INTERNAL_ERROR (something, different from the previous case, gone wrong)
  */
 int aqcpu_fra_init(void)
 {
@@ -205,7 +200,6 @@ int aqcpu_fra_init(void)
        int rv;
 
        if ((qrv = qres_init()) != QOS_OK) {
-               errno = -EPERM;
                return -1;
        }